package com.dalong.springboot.bean;

public class DbUser {
    private Integer id;

    private String username;

    private Integer cId;

    private Integer age;

    private String pwd;

    private DbClass myclass;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public DbClass getMyclass() {
        return myclass;
    }

    public void setMyclass(DbClass myclass) {
        this.myclass = myclass;
    }


    public DbUser(String username, Integer cId, Integer age, String pwd) {
        this.username = username;
        this.cId = cId;
        this.age = age;
        this.pwd = pwd;
    }


    public DbUser() {
    }
}